package com.ruoyi.ipms_trademark.controller;


import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping()
@RefreshScope    //开启支持nacos动态配置修改，默认是关闭，要开启
public class TrademarkController extends BaseController {

    /*接口测试--查找商标*/
    @GetMapping("/find/{id}")
    public AjaxResult findCustomer(@PathVariable("id") Integer id) {
        return AjaxResult.success("【echo:swagger接口测试】商标管理：" + id);
    }
}
